﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BOSS.Domain.Security;
using BOSS.Domain.Customers;

namespace BOSS.Domain.Products
{
    /// <summary>
    /// 消费记录
    /// </summary>
    public class ConsumptionRecord : DomainEntity<int>
    {
        /// <summary>
        /// 获取 / 设置 会员卡
        /// </summary>
        public virtual CustomerCard CustomerCard { get; set; }

        /// <summary>
        /// 获取 / 设置 客户账号
        /// </summary>
        public virtual CustomerAccount CustomerAccount { get; set; }

        /// <summary>
        /// 获取 / 设置 编号
        /// </summary>
        public virtual string SerialNumber { get; set; }

        /// <summary>
        /// 获取 / 设置 消费项目
        /// </summary>
        public virtual IList<ConsumptionItem> Items { get; set; }
    }
}
